<template>
  <div class="file-view-container">
    <file-preview :file-name="fileName" />
  </div>
</template>

<script>
import FilePreview from '@/components/FilePreview.vue';

export default {
  components: {
    FilePreview
  },
  data() {
    return {
      fileName: this.$route.params.fileName
    };
  }
};
</script>

<style scoped>
.file-view-container {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
</style>